package com.summer.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户银行卡信息
 */
public class UserBankCardInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private Integer bankId;//银行卡编号
    private Integer userId;//用户编号
    private String bankName;//银行名称
    private String cardNum;//银行卡号
    private String phone;//预留手机号码
    private String creditAmount;//信用额度
    private String validPeriod;//有效期
    private Integer status;//状态 (0:未生效   1:已生效)
    private Integer mainCard;//是否为主卡  0是 1 不是',
    private String openName;// 开户名称
    private String bankAddress;//开户地址
    private Integer openCardType;//开类型 银行卡类型(1:信用卡   2:借记卡,3:对公账号)
    private Date createTime;//创建时间
    private Date updateTime;//修改时间
    private String agreeno;//签约协议号
    private String mchntSsn;   // 绑卡协议流水号

    public UserBankCardInfo() {
    }

    public UserBankCardInfo(Integer id, Integer bankId, Integer userId, String bankName, String cardNum, String phone, String creditAmount, String validPeriod, Integer status, Integer mainCard, String openName, String bankAddress, Integer openCardType, Date createTime, Date updateTime, String agreeno, String mchntSsn) {
        this.id = id;
        this.bankId = bankId;
        this.userId = userId;
        this.bankName = bankName;
        this.cardNum = cardNum;
        this.phone = phone;
        this.creditAmount = creditAmount;
        this.validPeriod = validPeriod;
        this.status = status;
        this.mainCard = mainCard;
        this.openName = openName;
        this.bankAddress = bankAddress;
        this.openCardType = openCardType;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.agreeno = agreeno;
        this.mchntSsn = mchntSsn;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }



    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCreditAmount() {
        return creditAmount;
    }

    public void setCreditAmount(String creditAmount) {
        this.creditAmount = creditAmount;
    }

    public String getValidPeriod() {
        return validPeriod;
    }

    public void setValidPeriod(String validPeriod) {
        this.validPeriod = validPeriod;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getMainCard() {
        return mainCard;
    }

    public void setMainCard(Integer mainCard) {
        this.mainCard = mainCard;
    }

    public String getOpenName() {
        return openName;
    }

    public void setOpenName(String openName) {
        this.openName = openName;
    }

    public String getBankAddress() {
        return bankAddress;
    }

    public void setBankAddress(String bankAddress) {
        this.bankAddress = bankAddress;
    }

    public Integer getOpenCardType() {
        return openCardType;
    }

    public void setOpenCardType(Integer openCardType) {
        this.openCardType = openCardType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAgreeno() {
        return agreeno;
    }

    public void setAgreeno(String agreeno) {
        this.agreeno = agreeno;
    }

    public String getMchntSsn() {
        return mchntSsn;
    }

    public void setMchntSsn(String mchntSsn) {
        this.mchntSsn = mchntSsn;
    }
}
